package Entities;

import java.util.Objects;

public class UserEntity {
    private String userName;
    private String userPassword;
    private String userNickname;
    private String userTag1;
    private String userTag2;
    private String userTag3;
    private String userTag4;
    private String userTag5;
    private String userTag6;
    private Integer tagMark1;
    private Integer tagMark2;
    private Integer tagMark3;
    private Integer tagMark4;
    private Integer tagMark5;
    private Integer tagMark6;
    private String money;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    public String getUserTag1() {
        return userTag1;
    }

    public void setUserTag1(String userTag1) {
        this.userTag1 = userTag1;
    }

    public String getUserTag2() {
        return userTag2;
    }

    public void setUserTag2(String userTag2) {
        this.userTag2 = userTag2;
    }

    public String getUserTag3() {
        return userTag3;
    }

    public void setUserTag3(String userTag3) {
        this.userTag3 = userTag3;
    }

    public String getUserTag4() {
        return userTag4;
    }

    public void setUserTag4(String userTag4) {
        this.userTag4 = userTag4;
    }

    public String getUserTag5() {
        return userTag5;
    }

    public void setUserTag5(String userTag5) {
        this.userTag5 = userTag5;
    }

    public String getUserTag6() {
        return userTag6;
    }

    public void setUserTag6(String userTag6) {
        this.userTag6 = userTag6;
    }

    public Integer getTagMark1() {
        return tagMark1;
    }

    public void setTagMark1(Integer tagMark1) {
        this.tagMark1 = tagMark1;
    }

    public Integer getTagMark2() {
        return tagMark2;
    }

    public void setTagMark2(Integer tagMark2) {
        this.tagMark2 = tagMark2;
    }

    public Integer getTagMark3() {
        return tagMark3;
    }

    public void setTagMark3(Integer tagMark3) {
        this.tagMark3 = tagMark3;
    }

    public Integer getTagMark4() {
        return tagMark4;
    }

    public void setTagMark4(Integer tagMark4) {
        this.tagMark4 = tagMark4;
    }

    public Integer getTagMark5() {
        return tagMark5;
    }

    public void setTagMark5(Integer tagMark5) {
        this.tagMark5 = tagMark5;
    }

    public Integer getTagMark6() {
        return tagMark6;
    }

    public void setTagMark6(Integer tagMark6) {
        this.tagMark6 = tagMark6;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        UserEntity that = (UserEntity) o;
        return Objects.equals(userName, that.userName) &&
                Objects.equals(userPassword, that.userPassword) &&
                Objects.equals(userNickname, that.userNickname) &&
                Objects.equals(userTag1, that.userTag1) &&
                Objects.equals(userTag2, that.userTag2) &&
                Objects.equals(userTag3, that.userTag3) &&
                Objects.equals(userTag4, that.userTag4) &&
                Objects.equals(userTag5, that.userTag5) &&
                Objects.equals(userTag6, that.userTag6) &&
                Objects.equals(tagMark1, that.tagMark1) &&
                Objects.equals(tagMark2, that.tagMark2) &&
                Objects.equals(tagMark3, that.tagMark3) &&
                Objects.equals(tagMark4, that.tagMark4) &&
                Objects.equals(tagMark5, that.tagMark5) &&
                Objects.equals(tagMark6, that.tagMark6) &&
                Objects.equals(money, that.money);
    }

    @Override
    public int hashCode() {

        return Objects.hash(userName, userPassword, userNickname, userTag1, userTag2, userTag3, userTag4, userTag5, userTag6, tagMark1, tagMark2, tagMark3, tagMark4, tagMark5, tagMark6, money);
    }
}
